{include file="public/header" /}
<body style="background-color: #f1f1f1;">
<div class="index_html houtai">

    {include file="public/second_header" /}


    <!-- 地下内容的开始 -->
    <div class="backgroud_content ">
        <!-- 左侧的开始 -->

        {include file="public/nav" /}
        <!-- 左侧的结束 -->


        <!-- 右侧的开始 -->
        <div class="right_bar jianchajilu hou_huanzheguanli  hou_member">
            {include file="public/go_back" /}
            <div class="jcjl_detail">
                <div class="top_dec">
                    <span class="theme">成员信息</span>
                    <div class="member_box">
                        <div class="img_box">
                            {if $userinfo.avatar}
                            <img src="{$userinfo.avatar}" alt="">

                            {else/}
                            <img src="__STATIC__/index/imgs/ps_head.jpg" alt="">

                            {/if}
                        </div>
                        <div class="data_msg">
                            <ul>
                                <li>
                                    <span>昵称：</span>
                                    <strong>{$userinfo.name}</strong>
                                </li>
                                <li>
                                    <span>ID：</span>
                                    <strong>{$userinfo.id}</strong>
                                </li>
                                <li>
                                    <span>性别：</span>
                                    <strong>{$userinfo.sex|get_sex_str}</strong>
                                </li>
                                <li>
                                    <span>手机号：</span>
                                    <strong>{$userinfo.phone}</strong>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="data">
                    <!-- 下面的   列表 开始  -->
                    {if condition="!$list->isEmpty()"}
                    <div class="liebiao">
                        <div class="liebiao_dec">

                            <ul>
                                {foreach $list as $user_family}

                                <li>
                                    <a href="{:url('patient/patient_info',array('pid'=>$user_family['patient_id'],'type'=>1))}">
											<span class="first">
												<em>{$user_family.name}</em>
											</span>
                                        <span class="second">
												<em>{$user_family.sex|get_sex_str}</em>
											</span>
                                        <span class="third">
												<em>{$user_family.document_num}</em>
											</span>
                                        <span class="fifth">
												{$user_family['birth']|getAge}岁
											</span>
                                        <span class="sixth">
												<em>共{$user_family.record_count}条检查记录</em>
											</span>
                                        <span class="sixth">
												<em>{$user_family.create_time}</em>
											</span>
                                    </a>
                                </li>
                                {/foreach}
                            </ul>
                        </div>
                    </div>
                    {include file="public/page" /}
                    {else/}
                    暂无记录
                    {/if}

                </div>
            </div>
            <!-- 右侧的结束 -->
        </div>
    </div>
</div>
    {include file="public/footer" /}